package com.wiretrack.circuit;

import java.awt.Color;
import java.util.ArrayList;
import java.util.List;

import org.apache.log4j.Logger;

public class ScreenFlash
{
	public String id;
	public int lengthInMs;
	public int times;
	public List<FlashColorRGB> colors = new ArrayList<FlashColorRGB>();
	
	public Color[] getColors()
	{
		Color[] returnColors = new Color[colors.size()];
		
		for (int i = 0; i < returnColors.length; i++)
		{
			returnColors[i] = colors.get(i).getColor();
		}
		
		return returnColors;
	}
}
